﻿package org.net.UMsg
{
	import flash.utils.IDataOutput;
	
	//.使用道具
    //@23(short)|length(short)|propertyname(utf)|dir(左为1右为2)(short)|#
	public class UMsg23 extends UMsg
	{
		public var proName:String = "";
		
		public var dir:int;
		
		public function UMsg23(proName:String,dir:int)
		{
			type = 23;
			this.proName = proName
			this.dir=dir
		}
		
		public override function write(dis:IDataOutput):void
		{
			dis.writeUTF(proName);
			dis.writeShort(dir);
		}

	}
}